package com.example.bbs.agent.proxy;

/**
 * 真实对象(委托对象)
 * author: VC
 * create: 2021/7/16 9:18
 * version: 1.0.0
 */
public class Student implements Pay {
    @Override
    public int payMoney() {
        int money = (int) ((Math.random() * 10) + 1);
        System.out.println("学生交钱:" + money);
        return money;
    }
}
